package com.company.ecis.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : 杨宇
 * @date : 2022-08-04 11:48
 **/
@Controller
public class PathController {
//登陆
    @RequestMapping("/")
    public String index() {
        return "index";
    }
//注册
    @RequestMapping("/reg")
    public String reg(){return "register";};
//主页
    @RequestMapping("/index")
    public String admin(){
        return "page/index";
    }
//充值
    @RequestMapping("/page/addBalance")
    public String addBlance(){
        return "page/addBalance";
    }
//提现
    @RequestMapping("/page/reduceBalance")
    public String reduceBalance(){
        return "page/reduceBalance";
    }
//转账
    @RequestMapping("/page/transfer")
    public String transfer(){
        return "page/transfer";
    }
//
    @RequestMapping("/page/trade")
    public String trade(){
        return "page/trade";
    }

    @RequestMapping("/page/bindingCard")
    public String bindingCard(){
        return "page/bindingCard";
    }

    @RequestMapping("/page/main")
    public String main(){
        return "page/main";
    }

    @RequestMapping("/page/form-step")
    public String ballance(){
        return "/page/form-step";
    }
}
